#ifndef WARNING_H
#define WARNING_H

#include <string>
#include <vector>

#include "error.h"

class Warning : public Error {
	public:
		Warning(std::string);
		void addWarning(std::string);
		std::string getWarning(std::vector<std::string>::size_type);
	protected:
		std::vector<std::string> warnings_;
};

#endif

